package com.fintech.third.model.facerecog;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;


/**
 * 旷视人脸对比
 * @author tangpw
 *
 */
public class OpenViewFaceOcrDto implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String request_id;
	
	@JSONField(name="result_faceid")
	private ResultFaceid resultFaceid;
	
	
	public class ResultFaceid implements Serializable{
		private static final long serialVersionUID = 1L;
		
		private String confidence;
		
		private Thresholds thresholds;
		
		
		public String getConfidence() {
			return confidence;
		}


		public void setConfidence(String confidence) {
			this.confidence = confidence;
		}


		public Thresholds getThresholds() {
			return thresholds;
		}


		public void setThresholds(Thresholds thresholds) {
			this.thresholds = thresholds;
		}


		public class Thresholds implements Serializable{
			private static final long serialVersionUID = 1L;
			
			@JSONField(name="1e-3")
			private String le3;
			
			@JSONField(name="1e-4")
			private String le4;
			
			@JSONField(name="1e-5")
			private String le5;
			
			@JSONField(name="1e-6")
			private String le6;

			public String getLe3() {
				return le3;
			}

			public void setLe3(String le3) {
				this.le3 = le3;
			}

			public String getLe4() {
				return le4;
			}

			public void setLe4(String le4) {
				this.le4 = le4;
			}

			public String getLe5() {
				return le5;
			}

			public void setLe5(String le5) {
				this.le5 = le5;
			}

			public String getLe6() {
				return le6;
			}

			public void setLe6(String le6) {
				this.le6 = le6;
			}
			
			
		}
		
		
	}
	
	
	@JSONField(name="result_ref1")
	private ResultRef1 result_ref1;
	
	public class ResultRef1 implements Serializable{
		private static final long serialVersionUID = 1L;
		
		@JSONField(name="1e-3")
		private String le3;
		
		@JSONField(name="1e-4")
		private String le4;
		
		@JSONField(name="1e-5")
		private String le5;
		
		@JSONField(name="1e-6")
		private String le6;

		public String getLe3() {
			return le3;
		}

		public void setLe3(String le3) {
			this.le3 = le3;
		}

		public String getLe4() {
			return le4;
		}

		public void setLe4(String le4) {
			this.le4 = le4;
		}

		public String getLe5() {
			return le5;
		}

		public void setLe5(String le5) {
			this.le5 = le5;
		}

		public String getLe6() {
			return le6;
		}

		public void setLe6(String le6) {
			this.le6 = le6;
		}
			
	}
	
	@JSONField(name="id_exceptions")
	private IdExceptions idExceptions;
	
	public class IdExceptions implements Serializable{
		private static final long serialVersionUID = 1L;
		private String id_attacked;
		
		private String id_photo_monochrome;

		public String getId_attacked() {
			return id_attacked;
		}

		public void setId_attacked(String id_attacked) {
			this.id_attacked = id_attacked;
		}

		public String getId_photo_monochrome() {
			return id_photo_monochrome;
		}

		public void setId_photo_monochrome(String id_photo_monochrome) {
			this.id_photo_monochrome = id_photo_monochrome;
		}
		
	}
	
	
	private Faces faces;
	public class Faces implements Serializable{
		private static final long serialVersionUID = 1L;

		private String quality;
		
		private String quality_threshold;
		
		private Rect rect;
		
		public class Rect implements Serializable{
			private static final long serialVersionUID = 1L;
			private String left;
			private String top;
			private String width;
			private String height;
			public String getLeft() {
				return left;
			}
			public void setLeft(String left) {
				this.left = left;
			}
			public String getTop() {
				return top;
			}
			public void setTop(String top) {
				this.top = top;
			}
			public String getWidth() {
				return width;
			}
			public void setWidth(String width) {
				this.width = width;
			}
			public String getHeight() {
				return height;
			}
			public void setHeight(String height) {
				this.height = height;
			}
			
		}
		
		
		private String orientation;


		public String getQuality() {
			return quality;
		}


		public void setQuality(String quality) {
			this.quality = quality;
		}


		public String getQuality_threshold() {
			return quality_threshold;
		}


		public void setQuality_threshold(String quality_threshold) {
			this.quality_threshold = quality_threshold;
		}


		public Rect getRect() {
			return rect;
		}


		public void setRect(Rect rect) {
			this.rect = rect;
		}


		public String getOrientation() {
			return orientation;
		}


		public void setOrientation(String orientation) {
			this.orientation = orientation;
		}
		
	}
	
	
	@JSONField(name="face_genuineness")
	private FaceGenuineness faceGenuineness;
	
	public class FaceGenuineness implements Serializable{

		private static final long serialVersionUID = 1L;
		
		private String synthetic_face_confidence;
		
		private String synthetic_face_threshold;
		
		private String mask_confidence;
		
		private String mask_threshold;
		
		private String screen_replay_confidence;
		
		private String screen_replay_threshold;
		
		private String face_replaced;

		public String getSynthetic_face_confidence() {
			return synthetic_face_confidence;
		}

		public void setSynthetic_face_confidence(String synthetic_face_confidence) {
			this.synthetic_face_confidence = synthetic_face_confidence;
		}

		public String getSynthetic_face_threshold() {
			return synthetic_face_threshold;
		}

		public void setSynthetic_face_threshold(String synthetic_face_threshold) {
			this.synthetic_face_threshold = synthetic_face_threshold;
		}

		public String getMask_confidence() {
			return mask_confidence;
		}

		public void setMask_confidence(String mask_confidence) {
			this.mask_confidence = mask_confidence;
		}

		public String getMask_threshold() {
			return mask_threshold;
		}

		public void setMask_threshold(String mask_threshold) {
			this.mask_threshold = mask_threshold;
		}

		public String getScreen_replay_confidence() {
			return screen_replay_confidence;
		}

		public void setScreen_replay_confidence(String screen_replay_confidence) {
			this.screen_replay_confidence = screen_replay_confidence;
		}

		public String getScreen_replay_threshold() {
			return screen_replay_threshold;
		}

		public void setScreen_replay_threshold(String screen_replay_threshold) {
			this.screen_replay_threshold = screen_replay_threshold;
		}

		public String getFace_replaced() {
			return face_replaced;
		}

		public void setFace_replaced(String face_replaced) {
			this.face_replaced = face_replaced;
		}
		
	}
	
	@JSONField(name="error_message")
	private String errorMessage;
	
	private String time_used;

	public String getRequest_id() {
		return request_id;
	}

	public void setRequest_id(String request_id) {
		this.request_id = request_id;
	}

	public ResultFaceid getResultFaceid() {
		return resultFaceid;
	}

	public void setResultFaceid(ResultFaceid resultFaceid) {
		this.resultFaceid = resultFaceid;
	}

	public ResultRef1 getResult_ref1() {
		return result_ref1;
	}

	public void setResult_ref1(ResultRef1 result_ref1) {
		this.result_ref1 = result_ref1;
	}

	public IdExceptions getIdExceptions() {
		return idExceptions;
	}

	public void setIdExceptions(IdExceptions idExceptions) {
		this.idExceptions = idExceptions;
	}

	public Faces getFaces() {
		return faces;
	}

	public void setFaces(Faces faces) {
		this.faces = faces;
	}

	public FaceGenuineness getFaceGenuineness() {
		return faceGenuineness;
	}

	public void setFaceGenuineness(FaceGenuineness faceGenuineness) {
		this.faceGenuineness = faceGenuineness;
	}

	public String getTime_used() {
		return time_used;
	}

	public void setTime_used(String time_used) {
		this.time_used = time_used;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	
	
}
